<?php
/* @var $this EstagioController */
/* @var $data EstagioUsuario */
?>

<div class="view">

    <b><?php echo $data->getAttributeLabel('id'); ?>:</b>
    <?php echo CHtml::link(CHtml::encode($data->id), array('view', 'id' => $data->id)); ?>
    <br />

    <b><?php echo $data->getAttributeLabel('aluno_id'); ?>:</b>
    <?php echo CHtml::encode($data->aluno->nome); ?>
    <br />

    <b><?php echo $data->getAttributeLabel('empresa_id'); ?>:</b>
    <?php echo CHtml::encode($data->empresa->nome); ?>
    <br />

    <b><?php echo $data->getAttributeLabel('data_inicio'); ?>:</b>
    <?php echo DateTime::createFromFormat('Y-m-d', $data->data_inicio)->format('d/m/Y'); ?>
    <br />

    <b><?php echo $data->getAttributeLabel('data_fim'); ?>:</b>
    <?php echo DateTime::createFromFormat('Y-m-d', $data->data_fim)->format('d/m/Y'); ?>
    <br />


</div>